package team.seekers.skill.service;

import org.springframework.transaction.annotation.Transactional;
import team.seekers.skill.entity.dao.Question;
import com.baomidou.mybatisplus.extension.service.IService;
import team.seekers.skill.entity.query.QuestionQuery;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hbc
 * @since 2021-02-02
 */
public interface QuestionService extends IService<Question> {

    @Transactional(rollbackFor=Exception.class)
    boolean removeBySectionId(String sectionId);

    Map<String,Object> pageQuestionCondition(long current, long limit, QuestionQuery questionQuery);

}
